B-scan ultrasonography, or B-scan, is a diagnostic test used in ophthalmology to produce a two-dimensional, cross-sectional view of the eye and the orbit. It is otherwise called brightness scan.